import request from '@/utils/request2'

// 列表
export function listNotice6(data) {
  return request({
    url: '/mgm-map/list',
    method: 'post',
    data: data
  })
}

// 详细
export function getNotice6(id) {
  return request({
    url: '/mgm-map/details?id=' + id,
    method: 'post'
  })
}

// 新增
export function addNotice6(data) {
  return request({
    url: '/mgm-map/create',
    method: 'post',
    data: data
  })
}

// 修改
export function updateNotice6(data) {
  return request({
    url: '/mgm-map/update',
    method: 'post',
    data: data
  })
}

// 删除
export function delNotice6(ids) {
  return request({
    url: '/mgm-map/delete',
    method: 'post',
    data: {
      idList: ids
    }
  })
}
